<!doctype html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户中心</title>
</head>
<body>
	<include file="Member:header" /> 
	
	<table>
		<thead>
			<tr>
				<th>标题</th>
				<th>发送者</th>
				<th>时间</th>
			</tr>
		</thead>
		<tbody>
			<volist name='list' id="vo">
			<tr>
				<td width="249">
					<a href="javascript:void(0)" _href="{:U('info/detail',array('id'=>$vo['id']))}" class="info_detail">
					{$vo.title|default=utf8Substr($vo['content'],0,20)."..."}
					</a>
				</td>
				<td width="100">{$vo.account|default="系统消息"}</td>
				<td width="150">{$vo.create_time|date="Y-m-d H:i",###}</td>
			</tr>
			</volist>
		</tbody>
	</table>

	<include file="Member:footer" /> 
	<script>
	$('.info_detail').click(function(event) {
	  var url = $(this).attr('_href');
	  var height = 600;
	  var width  = 800;
	  var top = (window.screen.availHeight-30-height)/2; //获得窗口的垂直位置;
	  var left = (window.screen.availWidth-10-width)/2; //获得窗口的水平位置;
	  window.open (url,
	      'newwindow',
	      'height=600,width=800,top='+top+',left='+left+',toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'
	  );

	});

	</script>
</body>
</html>